package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Game;

/**
 * @author shenrui
 * @date 2021/9/21
 * @description 设置与Game相关的增删改查操作,继承Iservice基础类里面的增删改查方法，实现类是AdminServiceImpl
 */
public interface GameService extends IService<Game> {
    /**
     * @return String
     * @description 创建游戏题目
     */
     long[] createGame();

    /**
     *
     * @param heightList
     * @return int
     * @description 计算答案
     */
     long answerGame(long[] heightList);


}
